package com.caocaog.market.pay.syb.service;


import com.caocaog.market.pay.syb.dto.SybDto;

import java.util.Map;

public interface ISybPayService {

     /**
      *统一下单
      */
     Map<String,String> pay(SybDto sybDto) throws Exception;

     /**
      * 扫码支付
      */
     Map<String, String> scanPay(SybDto sybDto) throws Exception;

     /**
      * 撤销交易
      */
     Map<String,String> cancel(SybDto sybDto) throws Exception;

     /**
      *交易退款
      */
     Map<String,String> refund(SybDto sybDto) throws Exception;

     /**
      *交易查询
      */
     Map<String,String> query(SybDto sybDto) throws Exception;

     /**
      * 交易关闭
      */
     Map<String,String> close(SybDto sybDto) throws Exception;
}
